package designPattern.templateMethod;

public abstract class AbstractClass {
	
	public void run(){
		try{
			open();
		}finally{
			close();
		}
	}
	
	protected void open(){}
	
	protected void close(){}

}
